﻿using System.ComponentModel.DataAnnotations;
using FrameWork.Entity;

namespace AnQinFrameWorkAPI.Entity.SystemCore.DTO.RoleMenu;

/// <summary>
///     角色菜单模型 - 搜索
/// </summary>
public class RoleMenuSearchDTO : PageResultModel
{
    /// <summary>
    ///     角色id
    /// </summary>
    [Required(ErrorMessage = "角色Id不可为空")]
    public string RoleId { get; set; }
    
    /// <summary>
    ///    菜单名称
    /// </summary>
    public string? MenuName { get; set; }
}